#!/bin/bash
PASSWD="up"
# 修改源为中科大源
echo $PASSWD | sudo -S sed -i 's/cn.archive.ubuntu.com/ftp.sjtu.edu.cn/g' /etc/apt/sources.list

# 安装code
 wget -O code.deb "https://go.microsoft.com/fwlink/?LinkID=760868"
 sudo dpkg -i code.deb
